Skip to content

Add runner OTEL telemetry options#94

Merged
jmcte merged 4 commits intomainfrom
codex/runner-otel-telemetry
May 6, 2026
Merged

Add runner OTEL telemetry options#94
jmcte merged 4 commits intomainfrom
codex/runner-otel-telemetry

Conversation

@jmcte
Copy link
Copy Markdown
Contributor

@jmcte jmcte commented May 6, 2026

Summary

  • add a shared OTEL telemetry config schema and renderer for runner environments
  • wire optional telemetry settings into Synology, Linux Docker, Windows Docker, and Lume runners
  • document configurable remote OTLP targets and add non-secret env/config examples

Verification

  • pnpm lint
  • pnpm exec vitest run test/config.test.ts test/compose.test.ts test/linux-docker-compose.test.ts test/windows-compose.test.ts test/lume-config.test.ts test/lume-config.snapshot.test.ts
  • bash scripts/ci/run-fast-checks.sh
  • pnpm validate-config -- --config config/pools.yaml --env .env.example
  • pnpm validate-linux-docker-config -- --config config/linux-docker-runners.yaml --env .env.example
  • pnpm validate-windows-config -- --config config/windows-runners.yaml --env .env.example
  • pnpm validate-lume-config -- --config config/lume-runners.yaml --env .env.example

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7b87e83922

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib/telemetry.ts
@jmcte jmcte enabled auto-merge (squash) May 6, 2026 19:38
Copy link
Copy Markdown
Contributor

@pheidon pheidon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the PR diff and validation surface. The telemetry schema is opt-in, requires an endpoint when enabled, and the rendered OTEL environment is consistently wired across Synology, Linux Docker, Windows Docker, and Lume runners without committing secret header values. The added coverage exercises enabled telemetry rendering, endpoint validation, runner-version current-state handling, and env parser edge cases.\n\nVerification run locally on the PR worktree:\n- corepack pnpm lint ✅\n- targeted vitest suite for config/compose/lume/windows/linux/env/runner-version ✅\n- bash scripts/ci/run-fast-checks.sh ✅\n- validate-config / validate-linux-docker-config / validate-windows-config / validate-lume-config against examples ✅\n- full corepack pnpm test -- --run: 45 files, 204 tests passed ✅\n\nNo blocking findings from this pass.

@jmcte jmcte merged commit de7af7e into main May 6, 2026
12 checks passed
@jmcte jmcte deleted the codex/runner-otel-telemetry branch May 6, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants